package com.hmsm.sys.service;

import java.util.List;
import java.util.Set;

public interface IUserRoleService {

	public void cleanRoleUsersByRoleId(Integer roleId);

	public void bindUserRoleRelation(Integer userId, Integer roleId) throws Exception;

	public void unbindUserRoleRelation(Integer userId, Integer roleId) throws Exception;

	public Set<Integer> getUserIdsByRoleId(Integer roleId);

	public List<Integer> getRoleIdsByUserId(Integer pkId);

}
